<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String phone = request.getHeader("X-UP-CALLING-line-id");
Enumeration headerNames = request.getHeaderNames(); 

out.println("{"); 
while(headerNames.hasMoreElements()) { 
	String headerName = (String)headerNames.nextElement(); 
	out.println("\""+headerName+"\""+":"+request.getHeader(headerName)+","); 
}  
out.println("}");
%>

